package ${package_name}.service;

import ${package_name}.entity.${table_entity.entityName};
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

public interface ${table_entity.entityName}Service extends IService<${table_entity.entityName}> {

        Page<${table_entity.entityName}> findPage(int pageNo, int pageSize, ${table_entity.entityName} condition);


        List<${table_entity.entityName}> findList(Page<${table_entity.entityName}> page, ${table_entity.entityName} condition);


        Long add${table_entity.entityName}(${table_entity.entityName} ${table_entity.aliasName});


        void del${table_entity.entityName}(${table_entity.entityName} ${table_entity.aliasName});


        void update${table_entity.entityName}WithLock(${table_entity.entityName} ${table_entity.aliasName});
}
